package com.guinea.system.service;

import java.io.Serializable;
import com.guinea.core.orm.HibernateDao;
import com.guinea.core.service.EntityService;
import com.guinea.system.dao.RoleDao;
import com.guinea.system.entity.Role;

public class RoleService extends EntityService {
	private RoleDao roleDao;

	public Role getRole(Serializable id) {
		return (Role) getRoleDao().get(id);
	}

	public HibernateDao getEntityDao() {
		return roleDao;
	}

	public RoleDao getRoleDao() {
		return roleDao;
	}

	public void setRoleDao(RoleDao roleDao) {
		this.roleDao = roleDao;
	}
	
}
